//
//  JCClubGetCodeCallView.m
//  SquashSpark
//
//  Created by 郭吉成 on 2017/12/5.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import "JCClubGetCodeCallView.h"

@interface JCClubGetCodeCallView ()

@property (weak, nonatomic) IBOutlet UIButton *numberBtn;

@end

@implementation JCClubGetCodeCallView

- (IBAction)numberAction:(UIButton *)sender {
    if (_callHandle) {
        _callHandle();
    }
}


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    self.layer.borderColor = [UIColor yellowColor].CGColor;
    self.layer.borderWidth = 1.5;
    self.layer.cornerRadius = 8;
    [_numberBtn setTitle:_callNumber forState:UIControlStateNormal];
}


@end
